# Created by: Olivier Duchateau
# $FreeBSD$

PORTNAME=	plank-config
PORTVERSION=	1.3
CATEGORIES=	deskutils
MASTER_SITES=	GH GHC

MAINTAINER=	olivierd@FreeBSD.org
COMMENT=	Tool to configure Plank dock

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	valac:${PORTSDIR}/lang/vala
LIB_DEPENDS=	libnotify.so:${PORTSDIR}/devel/libnotify
RUN_DEPENDS=	plank:${PORTSDIR}/x11-wm/plank

GH_ACCOUNT=	ernest21
GH_PROJECT=	Plank-Config
GH_TAGNAME=	v${PORTVERSION}
GH_COMMIT=	1984260

WRKSRC=	${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}

USE_GITHUB=	yes
USES=	pkgconfig gmake
USE_AUTOTOOLS=	libtoolize autoconf aclocal automake
GNU_CONFIGURE=	yes
INSTALLS_ICONS=	yes
USE_GNOME=	gtk30 intltool intlhack

pre-configure:
	cd ${WRKSRC} && NOCONFIGURE=yes ${SH} ./autogen.sh

.include <bsd.port.mk>
